import request from '@/utils/request'

// 查询压力合格标准列表
export function listDispatchPressureQualifiedStandards(query) {
  return request({
    url: '/system/dispatchPressureQualifiedStandards/list',
    method: 'get',
    params: query
  })
}

// 查询压力合格标准详细
export function getDispatchPressureQualifiedStandards(pressureQualifiedStandardsId) {
  return request({
    url: '/system/dispatchPressureQualifiedStandards/' + pressureQualifiedStandardsId,
    method: 'get'
  })
}

// 新增压力合格标准
export function addDispatchPressureQualifiedStandards(data) {
  return request({
    url: '/system/dispatchPressureQualifiedStandards',
    method: 'post',
    data: data
  })
}

// 修改压力合格标准
export function updateDispatchPressureQualifiedStandards(data) {
  return request({
    url: '/system/dispatchPressureQualifiedStandards',
    method: 'put',
    data: data
  })
}

// 删除压力合格标准
export function delDispatchPressureQualifiedStandards(pressureQualifiedStandardsId) {
  return request({
    url: '/system/dispatchPressureQualifiedStandards/' + pressureQualifiedStandardsId,
    method: 'delete'
  })
}
